import { post } from '@/utils/fetch';

// 员工列表查询
export const getStuffList = data => post('/usercenter-admin-app/admin/sysEmployee/selectPage', data);
// 员工新增
export const addStuff = data => post('/usercenter-admin-app/admin/sysEmployee/insert', data);
// 更新
export const updateStuff = data => post('/usercenter-admin-app/admin/sysEmployee/update', data);
// 删除
export const deleteStuff = data => post('/usercenter-admin-app/admin/sysEmployee/delete', data);
// 复效
export const revalidateSysEmployee = data => post('/usercenter-admin-app/admin/sysEmployee/revalidate', data);
// 根据组织查询岗位
export const searchPosition = data => post('/usercenter-admin-app/admin/sysPosition/qryPositionListByOrgId', data);
